package cn.edu.zut.hhr.mapper;

import cn.edu.zut.hhr.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hhr
 * @since 2021-06-19
 */
public interface OrderMapper extends BaseMapper<Order> {

    Order getOrderById(Long id);

    List<Order> getOrderByCustomerid(Long customerid);

}
